{extend name="public/wap_base" /}
{block name="css"}
<link href="/static/css/wap/excellent.css?r=1" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper/swiper-bundle.min.css" />
{/block}
{block name="js"}
{/block}
{block name="title"}
{$classify.catname}
{/block}
{block name="main"}

<!-- 轮播图 -->
<div class="swiper-container banner-swiper">
    <div class="swiper-wrapper">
        <div class="swiper-slide"><img src="/static/images/wap/01.jpg" alt="banner1" /></div>
    </div>
    <div class="swiper-pagination"></div>
</div>
<!-- 轮播图结束 -->

<div class="block-gray" style="padding: 0px;border-radius:0px;margin: 0px">
    <!-- 分类导航栏（可横向滑动） -->
    <div class="category-tabs">
        {volist name="industry" id="item"}
        <div class="category-tab {if $cid == $item.id}active{/if}">
            <a href="/company/{$item.id}">{$item.catname}</a>
        </div>
        {/volist}
    </div>
</div>

<div class="block-white">
    <!-- 企业卡片列表 -->
    <div class="enterprise-list" >
        {volist name="list" id="item"}
        <a class="enterprise-item" href="/cdetail/{$item.user_id}">
            <img src="{$item.avatar}" alt="{$item.nickname}"/>
            <p class="enterprise-title">{$item.nickname}</p>
        </a>
        {/volist}
    </div>

</div>

<script src="https://cdn.jsdelivr.net/npm/swiper/swiper-bundle.min.js"></script>
<script src="/static/js/wap/company.js"></script>

{/block}